/*
* 命名空间: Project.Model
*
* 功 能： T_Contractor实体类
*
* 类 名： T_ContractorEntity
*
* Version   变更日期            负责人     变更内容
* ─────────────────────────────────────────────────
* V1.0.1    2020/02/02 14:50:40 罗维     创建
*
* Copyright (c) 2019 Lir Corporation. All rights reserved.
*/

namespace Project.Model
{
    using System;
    using Tool.Model;

    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    [DBTableInfo(TableName = "T_Contractor")]
    public class T_ContractorEntity
    {

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "ID",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public int ID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 20,DataLength = 20,DecimalDigits = 0,ColumnName = "ProjectNo",Required = true,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 10,DataLength = 10,DecimalDigits = 0,ColumnName = "DepNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string DepNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Creater",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Creater
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CreateNo",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CreateNo
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "ProjectName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ProjectName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "BusinessID",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? BusinessID
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "BusinessName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string BusinessName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Code",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Code
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "Phone",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Phone
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "Aear",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Aear
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "Price",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Price
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "CheckMethod",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckMethod
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 100,DataLength = 100,DecimalDigits = 0,ColumnName = "PackageMethod",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PackageMethod
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 300,DataLength = 300,DecimalDigits = 0,ColumnName = "PackagConent",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string PackagConent
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 9,DataLength = 18,DecimalDigits = 2,ColumnName = "Money",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public decimal? Money
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "ChinaMoney",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string ChinaMoney
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 4,DataLength = 10,DecimalDigits = 0,ColumnName = "CheckZT",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public int? CheckZT
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 50,DataLength = 50,DecimalDigits = 0,ColumnName = "CheckName",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string CheckName
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 500,DataLength = 500,DecimalDigits = 0,ColumnName = "Descrption",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public string Descrption
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 8,DataLength = 23,DecimalDigits = 3,ColumnName = "CreateDate",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public DateTime? CreateDate
        {
            get; set;
        }

        /// <summary>
        /// 
        /// </summary>
        [DBFieldInfo(ByteLength = 1,DataLength = 3,DecimalDigits = 0,ColumnName = "IsDel",Required = false,DefaultValue = "",IsPrimarykey = false)]
        public byte? IsDel
        {
            get; set;
        }
    }
}
